package com.woorigil.social.domain.deal.repository;

import java.util.Date;
import java.util.List;

import com.woorigil.social.BaseObject;

public class DealListCondition extends BaseObject {
	public static int defaultLimit = 30;
	
	private List<Integer> categoryIds;
	private String sid;
	private Date saleStartAtFrom;
	private Date saleStartAtTo;
	private Date saleEndAtFrom;
	private Date saleEndAtTo;
	private int limit = defaultLimit;
	private int offset;
	private int totalItemCount;
	private String query;
	

	public List<Integer> getCategoryIds() {
		return categoryIds;
	}

	public void setCategoryIds(List<Integer> categoryIds) {
		this.categoryIds = categoryIds;
	}

	public String getSid() {
		return sid;
	}

	public void setSid(String sid) {
		this.sid = sid;
	}

	public Date getSaleStartAtFrom() {
		return saleStartAtFrom;
	}

	public void setSaleStartAtFrom(Date saleStartAtFrom) {
		this.saleStartAtFrom = saleStartAtFrom;
	}

	public Date getSaleStartAtTo() {
		return saleStartAtTo;
	}

	public void setSaleStartAtTo(Date saleStartAtTo) {
		this.saleStartAtTo = saleStartAtTo;
	}

	public int getLimit() {
		return limit;
	}

	public void setLimit(int limit) {
		this.limit = limit;
	}

	public int getOffset() {
		return offset;
	}

	public void setOffset(int offset) {
		this.offset = offset;
	}

	public int getTotalItemCount() {
		return totalItemCount;
	}

	public void setTotalItemCount(int totalItemCount) {
		this.totalItemCount = totalItemCount;
	}

	public String getQuery() {
		return query;
	}

	public void setQuery(String query) {
		this.query = query;
	}

	public Date getSaleEndAtFrom() {
		return saleEndAtFrom;
	}

	public void setSaleEndAtFrom(Date saleEndAtFrom) {
		this.saleEndAtFrom = saleEndAtFrom;
	}

	public Date getSaleEndAtTo() {
		return saleEndAtTo;
	}

	public void setSaleEndAtTo(Date saleEndAtTo) {
		this.saleEndAtTo = saleEndAtTo;
	}
}